﻿using Coldairarrow.Entity.DingReving;
using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_CallPackListBusiness
    {
        Task<PageResult<PB_CallPackList>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_CallPackList> GetTheDataAsync(string id);
        Task AddDataAsync(PB_CallPackList data);
        Task UpdateDataAsync(PB_CallPackList data);
        Task DeleteDataAsync(List<string> ids);
        ///批量生成待维包码 
        Task AddCallPackList(List<AddCallPackList> addCallPackLists);
        /// <summary>
        /// 通过扫描物料二维码或成品码获取物料信息
        /// </summary>
        /// <param name="QrCode"></param>
        /// <returns></returns>
        Task<PB_Material> GetMaterial(string QrCode); 
    }
}